package com.itheima.service;

import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    public User findByUsername(String username);

    List<User> findAll();

    void addUser(User user,Integer[]rowIds);

    void deleteById(int id);

    User findById(int id);

    List<Integer> findRoleIdsByUserId(Integer id);

    void updateUser(User user, Integer[] roleIds);
}
